package com.jwindow.window;

import com.shareyi.joywindow.JoyWindowIntf;
import com.shareyi.joywindow.window.JoyWindowSwing;

/**
 * Created by david on 2016/6/9.
 */


public class StartJframeWindow {



    public static void main(String[] args) {
        JoyWindowIntf joyWindowIntf= JoyWindowSwing.getInstance();
        try {
            joyWindowIntf.init();
            joyWindowIntf.openWindow();
        } catch (Exception e) {
            e.printStackTrace();
        }

        try{
            Thread.sleep(2000);
           // System.out.println(joyWindowIntf.getSavePath("H:", true, new String[]{"*.txt"}, null));
           // System.out.println(joyWindowIntf.getOpenPath("H:", true, new String[]{"*.txt"}, null));
         //   System.out.println(joyWindowIntf.getDirectoryPath("H:"));
            joyWindowIntf.alertMsg("hahahah");
        }catch (Exception e){}
    }


}
